import pymysql as db

conn = db.connect (host = "localhost",
            user = "student",
            passwd = "anything",
            db = "emanuelacademy")
cursor = conn.cursor()


def resetAnswers():
    cursor.execute("DROP TABLE answers")
    conn.commit()
    cursor.execute('''CREATE TABLE answers(
                       questionID INT,
                       answer INT)''')
    conn.commit()
